Codeigniter Controller function in a view [closed]
Posted
by
Y2ok
on Programmers
See other posts from Programmers
or by Y2ok
Published on 2011-11-12T17:28:13Z
Indexed on
2011/11/12
18:06 UTC
Read the original article
Hit count: 272
php
|codeigniter
I'm using CodeIgniter and I have two controllers:
- Index controller that loads the website view
- Personal panel controller that will do all login, registration and personal panel functions. (Functions are loaded from models.)
The problem is that I don't have any clue how to insert that controller in a view file or in the other controller file so that it would load when I press submit button for a form or if the session's loggedin
is with value true
.
© Programmers or respective owner